package com.java;

public class Generate extends Thread{
	private Storage s;
	public Generate(Storage s){
		this.s = s;
		
	}
	public void run(){
		for(int i = 1;i<100;i++){
			s.put(i);
			System.out.println("Generate:"+i);
		}
		
	}
}
